﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace YiLe.View.BaseForm
{
    public class BaseListForm : Form, IView
    {
        public bool IsChildView {get; set;}

        public string ViewName { get; set; }

        public int ViewWidth { get; set; }

        public int ViewHeight { get; set; }

        public virtual void BindDataToView(){}

        public virtual void DisplayView(){}

        public virtual void HideView(){}

        public virtual bool ValidateForm() { return false; }

        //菜单
        public ToolStrip listToolStrip;
        //查询框
        public GroupBox searchGroupBox;
        //数据视图
        public DataGridView listDataGridView;
        //查询按钮
        public Button searchButton;
        //dataviewsource
        public BindingSource listBindingSource;
        //分页
        public BindingNavigator listNavigator;

    }
}
